<template>
  <div>
    <h4>下肢肌力</h4>
    <el-row type="flex" justify="space-between">
      <el-col>
        <span>左下肢</span>
      </el-col>
      <el-col>
        <el-radio-group v-model="pgForm.xiazjil_left_radio">
          <el-radio label="评估"></el-radio>
          <el-radio label="不评估"></el-radio>
        </el-radio-group>
      </el-col>
      <el-col :span="7">
        <span>髋曲区 </span>
        <el-select v-model="pgForm.xiazjil_left_kuanququ">
          <el-option v-for="item in xiazjil" :key=item.val :label=item.val :value=item.val></el-option>
        </el-select>
      </el-col>
      <el-col :span="7">
        <span>膝伸展 </span>
        <el-select v-model="pgForm.xiazjil_left_xishenzhan">
          <el-option v-for="item in xiazjil" :key=item.val :label=item.val :value=item.val></el-option>
        </el-select>
      </el-col>
      <el-col :span="7">
        <span>踝背屈 </span>
        <el-select v-model="pgForm.xiazjil_left_huaibeiqu">
          <el-option v-for="item in xiazjil" :key=item.val :label=item.val :value=item.val></el-option>
        </el-select>
      </el-col>
      <el-col>
        <span>右下肢</span>
      </el-col>
      <el-col>
        <el-radio-group v-model="pgForm.xiazjil_right_radio">
          <el-radio label="评估"></el-radio>
          <el-radio label="不评估"></el-radio>
        </el-radio-group>
      </el-col>
      <el-col :span="7">
        <span>髋曲区 </span>
        <el-select v-model="pgForm.xiazjil_right_kuanququ">
          <el-option v-for="item in xiazjil" :key=item.val :label=item.val :value=item.val></el-option>
        </el-select>
      </el-col>
      <el-col :span="7">
        <span>膝伸展 </span>
        <el-select v-model="pgForm.xiazjil_right_xishenzhan">
          <el-option v-for="item in xiazjil" :key=item.val :label=item.val :value=item.val></el-option>
        </el-select>
      </el-col>
      <el-col :span="7">
        <span>踝背屈 </span>
        <el-select v-model="pgForm.xiazjil_right_huaibeiqu">
          <el-option v-for="item in xiazjil" :key=item.val :label=item.val :value=item.val></el-option>
        </el-select>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "xfzzkfpgb_xiazjil",
  title: "下肢肌力",
  created() {
    if (this.istrans) {
      this.pgForm = this.fromdata
    }
  },
  props: {
    fromdata: {},
    istrans: false,
  },
  data() {
    return {
      //下肢肌力
      xiazjil: [{"val":"0","text":""},
        {"val":"1","text":""},
        {"val":"2","text":""},
        {"val":"3","text":""},
        {"val":"4","text":""},
        {"val":"5","text":""}],
      pgForm: {
        //下肢肌力
        xiazjil_left_radio: '',
        xiazjil_left_kuanququ: '',
        xiazjil_left_xishenzhan: '',
        xiazjil_left_huaibeiqu: '',
        xiazjil_right_radio: '',
        xiazjil_right_kuanququ: '',
        xiazjil_right_xishenzhan: '',
        xiazjil_right_huaibeiqu: '',
      },
    }
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-select {
  width: 50%;
}
</style>
